import requests
params = [
    {
     'ip_board_key':'111',
     'params':{'name':1,'sleep_time':1}
      
    },
    {
     'ip_board_key':'222',
     'params':{'name':2,'sleep_time':1}
    }
] * 5
requests.post('http://127.0.0.1:5000/batch_add',json={
    'task_params':params})